package com.teen9g.PageQueryDTO;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class AdvicePageQueryDTO implements Serializable {
    private int pageNum;
    private int pageSize;
    private Integer order; //1:创建时间升序 2:创建时间降序 3:更新时间升序 4:更新时间降序 5:点赞数升序 6:点赞数降序
    private String adviceCategory;
    private String adviceStatus; // 未优化, 优化中, 已优化, 已删除
    private String adviceAuthor;
    private String adviceContent; // 建议内容 模糊查询
}
